
	<!-- Page title -->
	<div id="pagetitle">
		<div class="wrapper">
			<h1>Human Resources &rarr; <span>Reports</span></h1>
			<form action="" method="get"><input class="" type="text" id="q" name="q" /></form>
		</div>
	</div>
	<!-- End of Page title -->
	
	<!-- Page content -->
	<div id="page">
		<!-- Wrapper -->
		<div class="wrapper">
		
			<p>&nbsp;</p>
			
			<!-- Reports -->
			<div id="reports" class="leading clearfix">
			
				<!-- Report Filter -->
				<div class="column width2 first">
					<div class="content-box corners">
						<header>
							<h3><img src="<?= $this->config->item('webroot') ?>/img/information.png" alt="" />Filters </h3>								
						</header>
						<section>
							
							<label>Select From</label>
							<select id="report-filters" name="report_filters">
								<!--<option value="hr">Employee 201 - HR</option>-->
								<option value="payroll">Employee 201 - Payroll</option>
								<option value="leave">Leave Applications</option>
								<option value="overtime">Overtime Applications</option>
								<option value="undertime">Undertime Applications</option>
								<option value="contributions">Contributions</option>
								<option value="deductions">Other Deductions</option>
								<option value="payslips">Print Payslips</option>
							</select>
							
							<div class="inner-width2 first"><hr /></div>
							
							<!-- Employee 201 - Payroll -->
							<div id="report-payroll" class="inner-width2 report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label><input class="payroll-options" type="radio" name="payroll-options" checked="checked" value="employee_rates" />Employee Rates</label>
											</td>
										</tr>
										<tr class="emp-rate-row-hidden">
											<td></td>
											<td style="width:90%">
												<label class="choice">
													<input type="checkbox" name="payroll_rates" checked="checked" />Basic Salary
												</label>
											</td>
										</tr>
										<tr class="emp-rate-row-hidden">
											<td></td>
											<td>
												<label class="choice">
													<input type="checkbox" name="payroll_rates" checked="checked" />Overtime Rate
												</label>
											</td>
										</tr>
										<tr class="emp-rate-row-hidden">
											<td></td>
											<td>
												<label class="choice">
													<input type="checkbox" name="payroll_rates" checked="checked" />Holiday Rates
												</label>
											</td>
										</tr>
										<!--<tr>
											<td colspan="2">
												<label><input type="radio" name="payroll_" />Allowance</label>
											</td>
										</tr>-->
										<tr>
											<td colspan="2">
												<label><input class="payroll-options" type="radio" name="payroll-options" value="recvd_increase" />Received Increase</label>
											</td>	
										</tr>
										<tr class="increase-row-hidden hidden">
											<td></td>
											<td style="width:90%">
												<label class="choice">From</label><br />
												<input type="date" />
											</td>
										</tr>
										<tr class="increase-row-hidden hidden">
											<td></td>
											<td style="width:90%">
												<label class="choice">To</label><br />
												<input type="date" />
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Employee 201 - Payroll -->
							
							<!-- Leave Applications -->
							<div id="report-leave" class="inner-width2 hidden report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label>Leave Type</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">
													<input type="checkbox" name="leave_type" checked="checked" />Sick Leave
												</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">
													<input type="checkbox" name="leave_type" checked="checked" />Vacation Leave
												</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">
													<input type="checkbox" name="leave_type" checked="checked" />Sick Leave w/o Pay
												</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">
													<input type="checkbox" name="leave_type" checked="checked" />Vacation Leave w/o Pay
												</label>
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<label>Period</label>
											</td>	
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">From</label><br />
												<input type="date" />
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">To</label><br />
												<input type="date" />
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Leave Applications -->
							
							<!-- Overtime Applications -->
							<div id="report-overtime" class="inner-width2 hidden report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label>Period</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">From</label><br />
												<input type="date" />
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">To</label><br />
												<input type="date" />
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Overtime Applications -->
							
							<!-- Undertime Applications -->
							<div id="report-undertime" class="inner-width2 hidden report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label>Period</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">From</label><br />
												<input type="date" />
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">To</label><br />
												<input type="date" />
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Undertime Applications -->
							
							<!-- Contributions -->
							<div id="report-contributions" class="inner-width2 hidden report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label>Contribution Type</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">
													<input type="checkbox" name="contribution_type" checked="checked" />SSS
												</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">
													<input type="checkbox" name="contribution_type" checked="checked" />Pag-ibig
												</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">
													<input type="checkbox" name="contribution_type" checked="checked" />Phil Health
												</label>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Contributions -->
							
							<!-- Deductions -->
							<div id="report-deductions" class="inner-width2 hidden report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label><input type="radio" name="payroll_" checked="checked" />SSS Loan</label>
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<label><input type="radio" name="payroll_" />Pag-ibig Loan</label>
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<label><input type="radio" name="payroll_" />Cash Advance</label>
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<label>Period</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">From</label><br />
												<input type="date" />
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">To</label><br />
												<input type="date" />
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Deductions -->
							
							<!-- Print Payslips -->
							<div id="report-payslips" class="inner-width2 hidden report-hideable">
								<table class="no-style full">
									<tbody>
										<tr>
											<td colspan="2">
												<label>Period</label>
											</td>
										</tr>
										<tr>
											<td></td>
											<td style="width:90%">
												<label class="choice">From</label><br />
												<input type="date" />
											</td>
										</tr>
										<tr>
											<td></td>
											<td>
												<label class="choice">To</label><br />
												<input type="date" />
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- End of Print Payslips -->
							
							<div class="inner-width2 first"><hr /></div>
							
							<div class="inner-width2 first">
								<a id="create-report" class="btn btn-blue">Create</a>
							</div>
					
						</section>
					</div>
				</div>
				<!-- End of Report Filter -->
				
				<!-- Report Result -->
				<div class="column width6">
					<div class="content-box corners">
						<header>
							<h3><img src="<?= $this->config->item('webroot') ?>/img/information.png" alt="" />Report</h3>		
							<span class="right-icons">
								<a href="#" title="Print">
									<img src="<?= $this->config->item('webroot') ?>/img/printer.png" />
								</a>
							</span>					
						</header>
						<section>
							
							<div class="column inner-width6 first">
								<h3><span id="report-title">Employee 201 - Payroll : Employee Rates</span></h3>
								<label><span id="report-subtitle">Basic Salary, Overtime Rates, and Holiday Rates</span></label>
							</div>
							
							<div class="column inner-width6 first"><hr /></div>
							
							<div id="entry_list" class="dataTables_wrapper">
								
								<div id="entry_list_count" class="dataTables_length">
									Show
									<select name="entry_list_count" size="1">
										<option value="10">10</option>
										<option value="25">25</option>
										<option value="50">50</option>
										<option value="100">100</option>
										<option value="all">All</option>
									</select>
									entries									
								</div>
								
								<div id="entry_list_paginate" class="dataTables_paginate paging_two_button" class="dataTables_paginate">
									<div id="entry_list_previous" class="paginate_disabled_previous" title="Previous"></div>
									<div id="entry_list_next" class="paginate_disabled_next" title="Next"></div>
								</div>
								
								<!-- Report table - Payroll -->
								<div id="report-table-payroll" class="inner-width6 first report-hidden-table">
									<table id="entry-list-table" class="display stylized full">
										<thead>
											<th class="sorting_asc">Employee Name</th>
											<th class="sorting_asc">Basic Salary</th>
											<th class="sorting_asc">Overtime Rate</th>
											<th class="sorting_asc">Holiday Rate</th>
										</thead>
										<tbody>
											<tr class="gradeA odd">
												<td>
													dela Cruz, John
												</td>
												<td>
													12,450.00
												</td>
												<td>
													65.50
												</td>
												<td>
													80.00
												</td>									
											</tr>
											<tr class="gradeA even">
												<td>
													Fernandez, Facundo
												</td>
												<td>
													12,450.00
												</td>
												<td>
													65.50
												</td>
												<td>
													80.00
												</td>
											</tr>
											<tr class="gradeA odd">
												<td>
													Hernandez, Anne
												</td>
												<td>
													12,450.00
												</td>
												<td>
													65.50
												</td>
												<td>
													80.00
												</td>
											</tr>
											<tr class="gradeA even">
												<td>
													Mula, Kriz
												</td>
												<td>
													12,450.00
												</td>
												<td>
													65.50
												</td>
												<td>
													80.00
												</td>
											</tr>
											<tr class="gradeA odd">
												<td>
													Santos, Kaye
												</td>
												<td>
													12,450.00
												</td>
												<td>
													65.50
												</td>
												<td>
													80.00
												</td>
											</tr>
										</tbody>
										<tfoot>
											<th>Employee Name</th>
											<th>Basic Salary</th>
											<th>Overtime Rate</th>
											<th>Holiday Rate</th>
										</tfoot>
									</table>
								</div>
								<!-- End of Report table - Payroll -->
								
								<!-- Report table - Leaves -->
								<div id="report-table-leaves" class="inner-width6 first report-hidden-table hidden">
									<table id="entry-list-table" class="display stylized full">
										<thead>
											<th class="sorting_asc">Employee Name</th>
											<th class="sorting_asc">Type</th>
											<th class="sorting_asc">From</th>
											<th class="sorting_asc">To</th>
											<th class="sorting_asc">Reason</th>
											<th class="sorting_asc">Status</th>
										</thead>
										<tbody>
											<tr class="gradeA odd">
												<td>
													dela Cruz, John
												</td>
												<td>
													Sick Leave
												</td>
												<td>
													December 1, 2010 (AM)
												</td>
												<td>
													December 1, 2010 (PM)
												</td>		
												<td>
													High Fever
												</td>	
												<td>
													Approved
												</td>						
											</tr>
											<tr class="gradeA even">
												<td>
													Fernandez, Facundo
												</td>
												<td>
													Vacation Leave
												</td>
												<td>
													December 20, 2010 (AM)
												</td>
												<td>
													December 23, 2010 (PM)
												</td>
												<td>
													Family vacation
												</td>	
												<td>
													Approved
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Hernandez, Anne
												</td>
												<td>
													Vacation Leave
												</td>
												<td>
													December 10, 2010 (PM)
												</td>
												<td>
													December 11, 2010 (PM)
												</td>
												<td>
													Personal affairs
												</td>	
												<td>
													Approved
												</td>	
											</tr>
											<tr class="gradeA even">
												<td>
													Mula, Kriz
												</td>
												<td>
													Vacation Leave
												</td>
												<td>
													December 10, 2010 (PM)
												</td>
												<td>
													December 11, 2010 (PM)
												</td>
												<td>
													Personal affairs
												</td>	
												<td>
													Cancelled
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Santos, Kaye
												</td>
												<td>
													Vacation Leave
												</td>
												<td>
													December 10, 2010 (PM)
												</td>
												<td>
													December 11, 2010 (PM)
												</td>
												<td>
													Personal affairs
												</td>	
												<td>
													Pending
												</td>	
											</tr>
										</tbody>
										<tfoot>
											<th>Employee Name</th>
											<th>Type</th>
											<th>From</th>
											<th>To</th>
											<th>Reason</th>
											<th>Status</th>
										</tfoot>
									</table>
								</div>
								<!-- End of Report table - Leaves -->
								
								<!-- Report table - Overtime -->
								<div id="report-table-overtime" class="inner-width6 first report-hidden-table hidden">
									<table id="entry-list-table" class="display stylized full">
										<thead>
											<th class="sorting_asc">Employee Name</th>
											<th class="sorting_asc">Date</th>
											<th class="sorting_asc">Total Hours</th>
											<th class="sorting_asc">Reason</th>
											<th class="sorting_asc">Status</th>
										</thead>
										<tbody>
											<tr class="gradeA odd">
												<td>
													dela Cruz, John
												</td>
												<td>
													December 1, 2010 (AM)
												</td>
												<td>
													1.5
												</td>		
												<td>
													Continue welding
												</td>
												<td>
													Approved
												</td>						
											</tr>
											<tr class="gradeA even">
												<td>
													Fernandez, Facundo
												</td>
												<td>
													December 4, 2010 (AM)
												</td>
												<td>
													1.5
												</td>		
												<td>
													Continue welding
												</td>
												<td>
													Cancelled
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Hernandez, Anne
												</td>
												<td>
													December 11, 2010 (AM)
												</td>
												<td>
													1
												</td>		
												<td>
													Continue welding
												</td>
												<td>
													Approved
												</td>	
											</tr>
											<tr class="gradeA even">
												<td>
													Mula, Kriz
												</td>
												<td>
													December 19, 2010 (AM)
												</td>
												<td>
													2
												</td>		
												<td>
													Continue welding
												</td>
												<td>
													Approved
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Santos, Kaye
												</td>
												<td>
													December 21, 2010 (AM)
												</td>
												<td>
													1.5
												</td>		
												<td>
													Continue welding
												</td>
												<td>
													Pending
												</td>	
											</tr>
										</tbody>
										<tfoot>
											<th>Employee Name</th>
											<th>Date</th>
											<th>Total Hours</th>
											<th>Reason</th>
											<th>Status</th>
										</tfoot>
									</table>
								</div>
								<!-- End of Report table - Overtime -->
								
								<!-- Report table - Undertime -->
								<div id="report-table-undertime" class="inner-width6 first report-hidden-table hidden">
									<table id="entry-list-table" class="display stylized full">
										<thead>
											<th class="sorting_asc">Employee Name</th>
											<th class="sorting_asc">Date</th>
											<th class="sorting_asc">Total Hours</th>
											<th class="sorting_asc">Reason</th>
											<th class="sorting_asc">Status</th>
										</thead>
										<tbody>
											<tr class="gradeA odd">
												<td>
													dela Cruz, John
												</td>
												<td>
													December 1, 2010 (AM)
												</td>
												<td>
													1.5
												</td>		
												<td>
													Emergency matters
												</td>
												<td>
													Approved
												</td>						
											</tr>
											<tr class="gradeA even">
												<td>
													Fernandez, Facundo
												</td>
												<td>
													December 4, 2010 (AM)
												</td>
												<td>
													1.5
												</td>		
												<td>
													Family affairs
												</td>
												<td>
													Cancelled
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Hernandez, Anne
												</td>
												<td>
													December 11, 2010 (AM)
												</td>
												<td>
													1
												</td>		
												<td>
													Personal meeting
												</td>
												<td>
													Approved
												</td>	
											</tr>
											<tr class="gradeA even">
												<td>
													Mula, Kriz
												</td>
												<td>
													December 19, 2010 (AM)
												</td>
												<td>
													2
												</td>		
												<td>
													Personal meeting
												</td>
												<td>
													Approved
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Santos, Kaye
												</td>
												<td>
													December 21, 2010 (AM)
												</td>
												<td>
													1.5
												</td>		
												<td>
													Personal meeting
												</td>
												<td>
													Pending
												</td>	
											</tr>
										</tbody>
										<tfoot>
											<th>Employee Name</th>
											<th>Date</th>
											<th>Total Hours</th>
											<th>Reason</th>
											<th>Status</th>
										</tfoot>
									</table>
								</div>
								<!-- End of Report table - Undertime -->
								
								<!-- Report table - Contributions -->
								<div id="report-table-contributions" class="inner-width6 first report-hidden-table hidden">
									<table id="entry-list-table" class="display stylized full">
										<thead>
											<th class="sorting_asc">Employee Name</th>
											<th class="sorting_asc">SSS</th>
											<th class="sorting_asc">Pag-ibig</th>
											<th class="sorting_asc">Phil Health</th>
										</thead>
										<tbody>
											<tr class="gradeA odd">
												<td>
													dela Cruz, John
												</td>
												<td>
													23,340.00
												</td>	
												<td>
													13,234.00
												</td>	
												<td>
													9,500.00
												</td>						
											</tr>
											<tr class="gradeA even">
												<td>
													Fernandez, Facundo
												</td>
												<td>
													23,340.00
												</td>		
												<td>
													13,234.00
												</td>	
												<td>
													9,500.00
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Hernandez, Anne
												</td>
												<td>
													23,340.00
												</td>	
												<td>
													13,234.00
												</td>	
												<td>
													9,500.00
												</td>		
											</tr>
											<tr class="gradeA even">
												<td>
													Mula, Kriz
												</td>
												<td>
													23,340.00
												</td>	
												<td>
													13,234.00
												</td>	
												<td>
													9,500.00
												</td>		
											</tr>
											<tr class="gradeA odd">
												<td>
													Santos, Kaye
												</td>
												<td>
													23,340.00
												</td>	
												<td>
													13,234.00
												</td>	
												<td>
													9,500.00
												</td>		
											</tr>
										</tbody>
										<tfoot>
											<th>Employee Name</th>
											<th>SSS</th>
											<th>Pag-ibig</th>
											<th>Phil Health</th>
										</tfoot>
									</table>
								</div>
								<!-- End of Report table - Contributions -->
								
								<!-- Report table - Deductions -->
								<div id="report-table-deductions" class="inner-width6 first report-hidden-table hidden">
									<table id="entry-list-table" class="display stylized full">
										<thead>
											<th class="sorting_asc">Employee Name</th>
											<th class="sorting_asc">Principal Amount</th>
											<th class="sorting_asc">Date Due</th>
											<th class="sorting_asc">Balance</th>
										</thead>
										<tbody>
											<tr class="gradeA odd">
												<td>
													dela Cruz, John
												</td>
												<td>
													13,400.50
												</td>
												<td>
													June 3, 2011
												</td>
												<td>
													4,500.50
												</td>						
											</tr>
											<tr class="gradeA even">
												<td>
													Fernandez, Facundo
												</td>
												<td>
													13,400.50
												</td>
												<td>
													June 3, 2011
												</td>
												<td>
													4,500.50
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Hernandez, Anne
												</td>
												<td>
													13,400.50
												</td>
												<td>
													June 3, 2011
												</td>
												<td>
													4,500.50
												</td>	
											</tr>
											<tr class="gradeA even">
												<td>
													Mula, Kriz
												</td>
												<td>
													13,400.50
												</td>
												<td>
													June 3, 2011
												</td>
												<td>
													4,500.50
												</td>	
											</tr>
											<tr class="gradeA odd">
												<td>
													Santos, Kaye
												</td>
												<td>
													13,400.50
												</td>
												<td>
													June 3, 2011
												</td>
												<td>
													4,500.50
												</td>	
											</tr>
										</tbody>
										<tfoot>
											<th>Employee Name</th>
											<th>Principal Amount</th>
											<th>Date Due</th>
											<th>Balance</th>
										</tfoot>
									</table>
								</div>
								<!-- End of Report table - Deductions -->

								<div id="entry_list_info" class="dataTables_info">
									Showing 1 to 5 of n entries.
								</div>
								
								<div id="entry_list_paginate" class="dataTables_paginate paging_two_button">
									<div id="entry_list_previous" class="paginate_disabled_previous" title="Previous"></div>
									<div id="entry_list_next" class="paginate_disabled_next" title="Next"></div>
								</div>
								
							</div>
							
						</section>
					</div>
				</div>
				<!-- End of Report Result -->
				
			</div>
			<!-- End of Reports -->
			
		 </div>
		 <!-- End of Wrapper -->
		
	</div>
	<!-- End of Page content -->
	
	<script type="text/javascript" src="<?= $this->config->item('webroot') ?>/js/hr.js"></script>